<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>fdk-aac: SBR_CALCULATE_ENVELOPE Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">fdk-aac
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="struct_s_b_r___c_a_l_c_u_l_a_t_e___e_n_v_e_l_o_p_e-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SBR_CALCULATE_ENVELOPE Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a5f9959e081562673549b3bdc7c64dbea"><td class="memItemLeft" align="right" valign="top">FIXP_DBL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_b_r___c_a_l_c_u_l_a_t_e___e_n_v_e_l_o_p_e.html#a5f9959e081562673549b3bdc7c64dbea">filtBuffer</a> [MAX_FREQ_COEFFS]</td></tr>
<tr class="separator:a5f9959e081562673549b3bdc7c64dbea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8951ec505c7d45f5c666428d4954561c"><td class="memItemLeft" align="right" valign="top">FIXP_DBL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_b_r___c_a_l_c_u_l_a_t_e___e_n_v_e_l_o_p_e.html#a8951ec505c7d45f5c666428d4954561c">filtBufferNoise</a> [MAX_FREQ_COEFFS]</td></tr>
<tr class="separator:a8951ec505c7d45f5c666428d4954561c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53b9f9cf9985ae9847300814b9f47ff0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_b_r___c_a_l_c_u_l_a_t_e___e_n_v_e_l_o_p_e.html#a53b9f9cf9985ae9847300814b9f47ff0">filtBuffer_e</a> [MAX_FREQ_COEFFS]</td></tr>
<tr class="separator:a53b9f9cf9985ae9847300814b9f47ff0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f89c2ea706bcca2d881b5b9d1955b8d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_b_r___c_a_l_c_u_l_a_t_e___e_n_v_e_l_o_p_e.html#a0f89c2ea706bcca2d881b5b9d1955b8d">filtBufferNoise_e</a></td></tr>
<tr class="separator:a0f89c2ea706bcca2d881b5b9d1955b8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f620e877442ac05dcc04c86fda63374"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_b_r___c_a_l_c_u_l_a_t_e___e_n_v_e_l_o_p_e.html#a2f620e877442ac05dcc04c86fda63374">startUp</a></td></tr>
<tr class="separator:a2f620e877442ac05dcc04c86fda63374"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7eaec495263b1a074b74a7d6554f211a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_b_r___c_a_l_c_u_l_a_t_e___e_n_v_e_l_o_p_e.html#a7eaec495263b1a074b74a7d6554f211a">phaseIndex</a></td></tr>
<tr class="separator:a7eaec495263b1a074b74a7d6554f211a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a925dcf0d66d091897fe4161d73451e06"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_b_r___c_a_l_c_u_l_a_t_e___e_n_v_e_l_o_p_e.html#a925dcf0d66d091897fe4161d73451e06">prevTranEnv</a></td></tr>
<tr class="separator:a925dcf0d66d091897fe4161d73451e06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03a53b7f21d0de9efe32f6762f33ba67"><td class="memItemLeft" align="right" valign="top"><a class="el" href="machine__type_8h.html#a6b1d94bcd9123a6d01d2d28b8ec5e25e">ULONG</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_b_r___c_a_l_c_u_l_a_t_e___e_n_v_e_l_o_p_e.html#a03a53b7f21d0de9efe32f6762f33ba67">harmFlagsPrev</a> [ADD_HARMONICS_FLAGS_SIZE]</td></tr>
<tr class="separator:a03a53b7f21d0de9efe32f6762f33ba67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8c63017c26431a372dc766b26f4c60b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_b_r___c_a_l_c_u_l_a_t_e___e_n_v_e_l_o_p_e.html#aa8c63017c26431a372dc766b26f4c60b">harmIndex</a></td></tr>
<tr class="separator:aa8c63017c26431a372dc766b26f4c60b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec9c46d3dab7266e3a5147faa72a9d9f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_b_r___c_a_l_c_u_l_a_t_e___e_n_v_e_l_o_p_e.html#aec9c46d3dab7266e3a5147faa72a9d9f">sbrPatchingMode</a></td></tr>
<tr class="separator:aec9c46d3dab7266e3a5147faa72a9d9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2ea3d5f76942fcad113314ab37e2f8b"><td class="memItemLeft" align="right" valign="top"><a id="ac2ea3d5f76942fcad113314ab37e2f8b"></a>
FIXP_SGL&#160;</td><td class="memItemRight" valign="bottom"><b>prevSbrNoiseFloorLevel</b> [MAX_NOISE_COEFFS]</td></tr>
<tr class="separator:ac2ea3d5f76942fcad113314ab37e2f8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ba1aed82183384cca791366d2dc0a36"><td class="memItemLeft" align="right" valign="top"><a id="a9ba1aed82183384cca791366d2dc0a36"></a>
<a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a>&#160;</td><td class="memItemRight" valign="bottom"><b>prevNNfb</b></td></tr>
<tr class="separator:a9ba1aed82183384cca791366d2dc0a36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e22ab86a12718d006f217cc94ae682f"><td class="memItemLeft" align="right" valign="top"><a id="a5e22ab86a12718d006f217cc94ae682f"></a>
<a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a>&#160;</td><td class="memItemRight" valign="bottom"><b>prevNSfb</b> [2]</td></tr>
<tr class="separator:a5e22ab86a12718d006f217cc94ae682f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a237af1d2a8fe117f1c04d1e2389e8957"><td class="memItemLeft" align="right" valign="top"><a id="a237af1d2a8fe117f1c04d1e2389e8957"></a>
<a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a>&#160;</td><td class="memItemRight" valign="bottom"><b>prevLoSubband</b></td></tr>
<tr class="separator:a237af1d2a8fe117f1c04d1e2389e8957"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60176277d380b223021d6cfb9a33eee6"><td class="memItemLeft" align="right" valign="top"><a id="a60176277d380b223021d6cfb9a33eee6"></a>
<a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a>&#160;</td><td class="memItemRight" valign="bottom"><b>prevHiSubband</b></td></tr>
<tr class="separator:a60176277d380b223021d6cfb9a33eee6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a998edaa20ae7f8f264b729f6503907b9"><td class="memItemLeft" align="right" valign="top"><a id="a998edaa20ae7f8f264b729f6503907b9"></a>
<a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a>&#160;</td><td class="memItemRight" valign="bottom"><b>prev_ov_highSubband</b></td></tr>
<tr class="separator:a998edaa20ae7f8f264b729f6503907b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52bd11838b21838cfad1bae230cb93ed"><td class="memItemLeft" align="right" valign="top"><a id="a52bd11838b21838cfad1bae230cb93ed"></a>
<a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>prevFreqBandTable</b> [2]</td></tr>
<tr class="separator:a52bd11838b21838cfad1bae230cb93ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94e25f568d9dad4d92a2d1e89d9ee68f"><td class="memItemLeft" align="right" valign="top"><a id="a94e25f568d9dad4d92a2d1e89d9ee68f"></a>
<a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a>&#160;</td><td class="memItemRight" valign="bottom"><b>prevFreqBandTableLo</b> [MAX_FREQ_COEFFS/2+1]</td></tr>
<tr class="separator:a94e25f568d9dad4d92a2d1e89d9ee68f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9258f1a48cf7ef3bfe1ba25c33b9cbe"><td class="memItemLeft" align="right" valign="top"><a id="ab9258f1a48cf7ef3bfe1ba25c33b9cbe"></a>
<a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a>&#160;</td><td class="memItemRight" valign="bottom"><b>prevFreqBandTableHi</b> [MAX_FREQ_COEFFS+1]</td></tr>
<tr class="separator:ab9258f1a48cf7ef3bfe1ba25c33b9cbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7ccc96490e81941eca5afe2b8e75825"><td class="memItemLeft" align="right" valign="top"><a id="af7ccc96490e81941eca5afe2b8e75825"></a>
<a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a>&#160;</td><td class="memItemRight" valign="bottom"><b>prevFreqBandTableNoise</b> [MAX_NOISE_COEFFS+1]</td></tr>
<tr class="separator:af7ccc96490e81941eca5afe2b8e75825"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1c8192e8f80eda52e99ca9c34c3dc82"><td class="memItemLeft" align="right" valign="top"><a id="ac1c8192e8f80eda52e99ca9c34c3dc82"></a>
<a class="el" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a>&#160;</td><td class="memItemRight" valign="bottom"><b>sinusoidal_positionPrev</b></td></tr>
<tr class="separator:ac1c8192e8f80eda52e99ca9c34c3dc82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f5b7d197e2264315e4b1306795116c8"><td class="memItemLeft" align="right" valign="top"><a id="a8f5b7d197e2264315e4b1306795116c8"></a>
<a class="el" href="machine__type_8h.html#a6b1d94bcd9123a6d01d2d28b8ec5e25e">ULONG</a>&#160;</td><td class="memItemRight" valign="bottom"><b>harmFlagsPrevActive</b> [ADD_HARMONICS_FLAGS_SIZE]</td></tr>
<tr class="separator:a8f5b7d197e2264315e4b1306795116c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a5f9959e081562673549b3bdc7c64dbea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f9959e081562673549b3bdc7c64dbea">&#9670;&nbsp;</a></span>filtBuffer</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">FIXP_DBL SBR_CALCULATE_ENVELOPE::filtBuffer[MAX_FREQ_COEFFS]</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>previous gains (required for smoothing) </p>

</div>
</div>
<a id="a53b9f9cf9985ae9847300814b9f47ff0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53b9f9cf9985ae9847300814b9f47ff0">&#9670;&nbsp;</a></span>filtBuffer_e</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> SBR_CALCULATE_ENVELOPE::filtBuffer_e[MAX_FREQ_COEFFS]</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Exponents of previous gains </p>

</div>
</div>
<a id="a8951ec505c7d45f5c666428d4954561c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8951ec505c7d45f5c666428d4954561c">&#9670;&nbsp;</a></span>filtBufferNoise</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">FIXP_DBL SBR_CALCULATE_ENVELOPE::filtBufferNoise[MAX_FREQ_COEFFS]</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>previous noise levels (required for smoothing) </p>

</div>
</div>
<a id="a0f89c2ea706bcca2d881b5b9d1955b8d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f89c2ea706bcca2d881b5b9d1955b8d">&#9670;&nbsp;</a></span>filtBufferNoise_e</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> SBR_CALCULATE_ENVELOPE::filtBufferNoise_e</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Common exponent of previous noise levels </p>

</div>
</div>
<a id="a03a53b7f21d0de9efe32f6762f33ba67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03a53b7f21d0de9efe32f6762f33ba67">&#9670;&nbsp;</a></span>harmFlagsPrev</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="machine__type_8h.html#a6b1d94bcd9123a6d01d2d28b8ec5e25e">ULONG</a> SBR_CALCULATE_ENVELOPE::harmFlagsPrev[ADD_HARMONICS_FLAGS_SIZE]</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Words with 16 flags each indicating where a sine was added in the previous frame. </p>

</div>
</div>
<a id="aa8c63017c26431a372dc766b26f4c60b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8c63017c26431a372dc766b26f4c60b">&#9670;&nbsp;</a></span>harmIndex</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a> SBR_CALCULATE_ENVELOPE::harmIndex</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Current phase of synthetic sine </p>

</div>
</div>
<a id="a7eaec495263b1a074b74a7d6554f211a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7eaec495263b1a074b74a7d6554f211a">&#9670;&nbsp;</a></span>phaseIndex</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SBR_CALCULATE_ENVELOPE::phaseIndex</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Index for randomPase array </p>

</div>
</div>
<a id="a925dcf0d66d091897fe4161d73451e06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a925dcf0d66d091897fe4161d73451e06">&#9670;&nbsp;</a></span>prevTranEnv</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SBR_CALCULATE_ENVELOPE::prevTranEnv</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The transient envelope of the previous frame. </p>

</div>
</div>
<a id="aec9c46d3dab7266e3a5147faa72a9d9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec9c46d3dab7266e3a5147faa72a9d9f">&#9670;&nbsp;</a></span>sbrPatchingMode</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SBR_CALCULATE_ENVELOPE::sbrPatchingMode</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Current patching mode <br  />
 </p>

</div>
</div>
<a id="a2f620e877442ac05dcc04c86fda63374"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f620e877442ac05dcc04c86fda63374">&#9670;&nbsp;</a></span>startUp</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SBR_CALCULATE_ENVELOPE::startUp</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>flag to signal initial conditions in buffers </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>original/libSBRdec/src/<a class="el" href="env__calc_8h_source.html">env_calc.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
